<?php
/**
 * Profile model
 *
 * @property int $id
 * @property boolean $active
 * @property int $user_id
 * @property User $user
 */
class Profile extends MModel {

    static $table_name = 'ml_blog_profiles';
    static $belongs_to = array(
        array('ml_users', 'class_name' => 'User'),
    );
    static $alias_attribute = array(
        'user' => 'ml_users',
    );

}

?>
